//
//  TSReceiveTableView.m
//  chart
//
//  Created by 曾斌 on 16/4/11.
//  Copyright (c) 2016年 xu. All rights reserved.
//

#import "TSReceiveTableView.h"
#import "TSReceiveDetailController.h"
@implementation TSReceiveTableView

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    
    if (indexPath.row == 0) {
        return;
    }
    
    if (super.taskList) {
        TSTaskModel *model = [super.taskList objectAtIndex:indexPath.row-1];
        TSReceiveDetailController *detail_vc = [[TSReceiveDetailController alloc] init];
        detail_vc.taskModel = model;
        detail_vc.taskId = model.tId;
        [[self getViewController].navigationController pushViewController:detail_vc animated:YES];
    }
}
@end
